#ifndef __SCNS_DHT11_H__
#define __SCNS_DHT11_H__

#include "ScnsConfig.h"

#if defined(SCNS_DHT11_ENABLE)&&SCNS_DHT11_ENABLE==1

#include "ScnsYing.h"
#include "ScnsBspDht11.h"

typedef struct
{
    uint8 inited;
    uint8 temperature;
    uint8 humidity;
}ScnsDht11Result;

extern ScnsDht11Result scnsDht11Result[SCNS_DHT11_MAX];

extern ScnsStatus scnsDht11Init(ScnsDht11Enum dhtN);
extern void scnsDht11Interrupt(ScnsDht11Enum dhtN);
#endif
#endif
